//"invitecode":res_user.invitecode,"contri":res_user.contri,"coin":r
//es_user.coin,"myic":res_user.myic,"vip":res_user.vip };
class GetUserBean {
  String description;
  String invitecode;
  int contri;
  int coin;
  String myic;
  int vip;
  int subCounts;
  static GetUserBean fromMap(Map<String, dynamic> map) {
    GetUserBean getUserBean = new GetUserBean();
    getUserBean.description = map['description'];
    getUserBean.invitecode = map['invitecode'];
    getUserBean.contri = map['contri'];
    getUserBean.coin = map['coin'];
    getUserBean.myic = map['myic'];
    getUserBean.vip = map['vip'];
    getUserBean.subCounts = map['subCounts'];
    return getUserBean;
  }

  static List<GetUserBean> fromMapList(dynamic mapList) {
    List<GetUserBean> list = List.filled(mapList.length, null);
    for (int i = 0; i < mapList.length; i++) {
      list[i] = fromMap(mapList[i]);
    }
    return list;
  }
}
